package cn.spike.org.domain;

import cn.spike.basic.domain.BaseDomain;
import lombok.Data;

/**
 * @author:sea
 * @create:2023-01-09 13:58
 */
@Data
public class Employee extends BaseDomain{
    private String username;
    private String phone;
    private String email;
    private String salt;
    private String password;
    /**
     * 接收前端的确认密码数据
     */
    private String comfirmPassword;

    private Integer age;
    private Integer state;
    private Long department_id;
    private Long logininfo_id;
    private Long shop_id;
    private Department department;

    /**
     * 保存员工所属角色Id
     */
    private Long role_id;

    /**
     * 保存员工所属角色名字
     */
    private String role_name;
}
